package com.cn.kabalifeuser.ui.my.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/10/30.
 * function:
 */
public class IntegralListBean {


    /**
     * code : 200
     * result : {"data":[{"id":3,"integral":200,"status":2,"created_at":"2020-11-02","param":10,"content":"购买商品"},{"id":2,"integral":100,"status":1,"created_at":"2020-11-02","param":0,"content":"拉新赠送"}],"count":2,"integral_sum":300}
     * msg : ok
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * data : [{"id":3,"integral":200,"status":2,"created_at":"2020-11-02","param":10,"content":"购买商品"},{"id":2,"integral":100,"status":1,"created_at":"2020-11-02","param":0,"content":"拉新赠送"}]
         * count : 2
         * integral_sum : 300
         */

        private int count;
        private int integral_sum;
        private List<DataBean> data;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getIntegral_sum() {
            return integral_sum;
        }

        public void setIntegral_sum(int integral_sum) {
            this.integral_sum = integral_sum;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 3
             * integral : 200
             * status : 2
             * created_at : 2020-11-02
             * param : 10
             * content : 购买商品
             */

            private int id;
            private int integral;
            private int status;
            private String created_at;
            private int param;
            private String content;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getIntegral() {
                return integral;
            }

            public void setIntegral(int integral) {
                this.integral = integral;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public int getParam() {
                return param;
            }

            public void setParam(int param) {
                this.param = param;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }
    }
}
